]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Update bg border radius in constructor
authorIvan Molodetskikh <yalterz@gmail.com>
Mon, 16 Aug 2021 07:00:51 +0000 (10:00 +0300)
committerMarge Bot <marge-bot@gnome.org>
Wed, 1 Sep 2021 11:01:04 +0000 (11:01 +0000)
Otherwise non-zero initial value of stateAdjustment will produce
incorrect radius.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1964>

js/ui/workspace.js

index afdde824e1a6e9096024aa633084f1e24d4e99f1..79d6cf146b4a5f7f775f7818b0a5f865dc05a772 100644 (file)
@@ -962,6 +962,8 @@ class WorkspaceBackground extends St.Widget {
             });
         this._updateRoundedClipBounds();
 
+        this._updateBorderRadius();
+
         this.connect('destroy', this._onDestroy.bind(this));
     }